package cn.dylan.pet.mapper;

import cn.dylan.basic.mapper.BaseMapper;
import cn.dylan.pet.domain.Pet;
import cn.dylan.pet.domain.PetDetail;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface PetMapper extends BaseMapper<Pet> {

    void onSale(@Param("ids") List<Long> ids,@Param("onsaletime") Date date);

    void offSale(@Param("ids") List<Long> ids,@Param("offsaletime") Date date);

    Pet loadByPetId(Long pet_id);

}
